package netspy.dateien;

import java.io.File;
import java.util.LinkedList;
import java.util.Queue;

import structures.BadWord;

public class MailLog extends Log{

	private Queue<BadWord> queue = new LinkedList<BadWord>();
	
	
	public MailLog(File file) {
		super(file);
	}
	
	public void logBadWord(Mail email, String word, int count){
		queue.add(new BadWord(email, word, count));
	}
	
	
	public Queue<BadWord> getQueue(){
		return this.queue;
	}
	
	
}
